//
//  SYUserDataCellModel.swift
//  SYWeibo
//
//  Created by Saya on 16/4/11.
//  Copyright © 2016年 黄金果. All rights reserved.
//

import UIKit

class SYUserDataCellModel: NSObject {
    ///用户名称
    var name:String?
    ///用户头像
    var profile_image_url:String?
    ///用户等级,那个黄色图标的标志
    var mbrank:Int = 0
    ///认证类型  -1:没有认证  1:认证用户 2,3,5:企业认证 220:达人
    var verified_level = -1
    
    init (dict:[String:AnyObject]) {
        super.init()
        setValuesForKeysWithDictionary(dict)
    }
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }
    
    override var description: String {
        let keys = ["name","profile_image_url","mbrank","verified"]
        let dict = self.dictionaryWithValuesForKeys(keys)
        return dict.description
    }
}
